import api from '@/api/index.ts'

// 获取列表
export function GetData(params: any) {
  return api.get('/api/clientaccount/list', { params })
}
export function GetOptionData() {
  return api.get('/api/clientaccount/optionlist')
}
// 修改状态
export function PatchListSort(params: any) {
  return api.patch(`/api/clientaccount/modifyaccountstate`, params)
}
// 绑定标签
export function PostClientAccountLabels(params: any) {
  return api.post('/api/clientaccount/modifyaccountlabels', params)
}
// 绑定消息组灵活欢迎语
export function PostClientAccountMessageGroup(params: any) {
  return api.post('/api/clientaccount/modifyaccountcardgroup', params)
}
